package game.util;

public class EggFactory<T> {
    T x;

    public EggFactory(Class<T> c) {
        try {
            this.x = c.newInstance();
        } catch (InstantiationException e) {
            e.printStackTrace();
        } catch (IllegalAccessException e) {
            e.printStackTrace();
        }
    }
}
